<?php
/* @var $this NewsController */
/* @var $data News */
?>

	<tr>
		<td class="pl15">
			<?php echo CHtml::checkBox('id[]','',array('class'=>'chk','onclick'=>'CheckList("ids[]","id[]")','value'=>$data->zne_id))?>
			<?php echo CHtml::link(mb_substr($data->zne_title,0,30,'utf8'),array('/home/news/detail','id'=>$data->zne_id),array('class'=>'c_06c'))?>
			<?php if($data->zne_focus==2) echo '<span class="man_bg ico_top"></span>'?>
			<?php if($data->zne_commend==2) echo '<span class="man_bg ico_tj"></span>'?>
		</td>
		<td width="13%">
			<?php if(!empty($data->newscat)) echo CHtml::encode($data->newscat->znc_title)?>
		</td>
		<td width="13%"><?php echo empty($data->member)?'商城':$data->member->zm_name?></td>
		<td width="15%"><?php echo date('Y-m-d H:i',$data->inputtime)?></td>
		<td width="12%" class="operate">
		<?php if(isset($recycle)){?>
			<?php echo CHtml::link(Yii::t('adm','Restore'),array('restore','id'=>$data->zne_id),array('class'=>'c_06c'))?>
			<?php echo CHtml::link(Yii::t('glo','Delete'),'javascript:',array('class'=>'c_06c','onclick'=>'return art_del_confirm("/manage/newsRecycle/delete/id/'.$data->zne_id.'","你确定要删除这条信息吗？")'))?>  
		<?php }else{?>
			<?php echo CHtml::link(Yii::t('glo','Update'),array('update','id'=>$data->zne_id),array('class'=>'c_06c'))?>
			<?php echo CHtml::link(Yii::t('glo','Delete'),'javascript:',array('class'=>'c_06c','onclick'=>'return art_del_confirm("/manage/news/delete/id/'.$data->zne_id.'","你确定要删除这条信息吗？")'))?>  
		<?php }?>
		</td>
	</tr>

